<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>砍价基础版编辑页</title>
    <script>
      var width = document.documentElement.clientWidth;
      var scale = width / 375;
      var css = 'html{font-size:' +
        37.5 * scale +
        'px;}';
      document.write('<style>' + css + '</style>');
    </script>
        <script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.js"></script>
</head>

<body>
<div id="app" v-cloak>
    <func-banner :mananger='false'></func-banner>
    <div class="container">
        <edit-header :header="Header"></edit-header>
        <main>
            <div class="w">
                <!-- 设置时间区域  -->
                <select-time :timeselect="TimeSet"></select-time>
                <!-- 操作说明 -->
                <div class="activity_rules">
                    <div class="hidden">
                        <div v-if="!HasJoiners">
                            <p style="color: #fb5b0d;padding-bottom: 10px;">有人报名后价格不可修改，奖品份数只可增加不可减少</p>
                            <div class="price_set">
                                <div>原价
                                    <input type="number" inputmode="numeric" v-model="Prizes.Priprice"
                                           name='original_price'>元
                                </div>
                                <div>底价
                                    <input type="number" inputmode="numeric" v-model="Prizes.LatPrice"
                                           name='floor_price'>元
                                </div>
                            </div>
                        </div>
                        <div v-else>
                            <p style="color: #fb5b0d;padding-bottom: 10px;">活动已有人参加,价格不可修改</p>
                            <div class="price_set">
                                <div>原价<span style="color: #fb5b0d;">{{Prizes.Priprice}}</span>元</div>
                                <div>底价<span style="color: #fb5b0d;">{{Prizes.LatPrice}}</span>元</div>
                            </div>
                        </div>


                        <div class="both"></div>
                        <div class="price_set">
                            <div>需要约
                                <input type="number" inputmode="numeric" pattern="[0-9]*"
                                       v-model="Prizes.MaxJoiners">人砍到底价
                            </div>
                        </div>
                        <div class="both"></div>
                        <div class="price_set">
                            <div>奖品份数<input type="number" name="prize_number" inputmode="numeric" pattern="[0-9]*"  v-model="Prizes.PrizesNum" id="prize_number"><p style="color:#666;font-size: 0.37333rem;">不填则表示不限制</p></div>
                        </div>
                        <p style="color: #f00;" v-if="HasJoiners">活动已有人报名,不可减少奖品份数</p>
                        <div class="both"></div>
                        <div class="both"></div>
                        <div class="price_set_des">
                            <p>建议设置需要50人砍到底价,即分享给50个好友帮忙砍价即可砍到底价,价格只能输入数字和小数点</p>
                        </div>
                    </div>
                </div>

                <g-section v-on:child-say="listenSectionChange" :sedata="Content"></g-section>

                <!-- 额外信息-->
                <edit-addmsg :footeradd="AddMsg"></edit-addmsg>

            </div>
        </main>
    </div>
    <div class="both"></div>
    <div class="both"></div>
    <div class="both"></div>
    <div class="both"></div>
    <div class="both"></div>
    <div class="both"></div>
    <div class="footer">
        <a id='preview' v-on:click="saveActDetail(1)">预览活动</a>
        <a class="right" id='presave' v-on:click="saveActDetail(2)">保存活动</a>
    </div>
</div>
</body>

</html>